<?
include"../config/koneksi.php";
include"../class/order.php";

if (ISSET($_GET["orderid"])){
$orderid=$_GET["orderid"];
}
$Order_Dao=new Order_Dao();
$order=$Order_Dao->edit_status2 ($orderid);

if($order){
	echo"<meta http-equiv='refresh' content='0;URL=index.php?menu=pesanankirim.php'>";
}
else{
//echo"Gagal update";
echo"<meta http-equiv='refresh' content='1;URL=index.php?menu=pesanankirim'>";
}

?>